package com.biwin.common.app.enums;

import com.biwin.common.api.enums.IBwEnum;

/**
 * Match types
 *
 * @author biwin
 * @since
 */
public enum MatchTypeEnum {
    /**
     * 并且
     */
    AND(0, "and"),

    /**
     * 或者
     */
    OR(1, "or"),

    /**
     * 不等于
     */
    NE(2, "not equal"),

    /**
     * 等于
     */
    EQ(3, "equal"),

    /**
     * 小于
     */
    LT(4, "less than"),

    /**
     * 大于
     */
    GT(5, "greater than"),

    /**
     * 小于等于
     */
    LE(6, "less equal"),

    /**
     * 大于等于
     */
    GE(7, "greater equal"),

    /**
     * 包含
     */
    IN(8, "in"),

    /**
     * 不包含
     */
    NOT_IN(9, "not in"),

    /**
     * 全模糊
     */
    LIKE(10, "like"),

    /**
     * 前模糊
     */
    LIKE_START(11, "like start"),

    /**
     * 后模糊
     */
    LIKE_END(12, "like end"),

    /**
     * 之间
     */
    BETWEEN(13, "bewteen"),

    /**
     * 不包含边际之间
     */
    BETWEEN_NONE(14, "between none board"),
    ;

    private Integer code;

    private String value;

    MatchTypeEnum(Integer code, String value) {
        this.code = code;
        this.value = value;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
